package com.wbl.featurn.login

import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent

@Module
@InstallIn(SingletonComponent::class)
object LoginModule {
    @Provides
    fun providesLoginRepository(): LoginRepository {
        return LoginRepository()
    }

    @Provides
    fun providesLoginCase(): LoginCase {
        return LoginCase(providesLoginRepository())
    }
}